// let renderPage = require('../serverApi')
let api = require('./api.js');
let login = require('./login.js');
module.exports = routesConfig = {
  'get':
    {
      '/': api.renderApi,
      '/api/getArticle': api.getArticle,
    },
  'post': 
    {
      '/api/saveArticle': api.saveArticle,
      '/api/login': login,
    },
  'put':{},
  'delete':{
    '/api/deleteArticle': api.deleteArticle,
  }
}